#include <stdio.h>
#include <limits.h>
#include <stdbool.h>
#include <stdlib.h>
#define isunsigned0(x) !(x >= INT_MIN && x <= INT_MAX)
#define isunsigned1(x) (x >= 0 && -x >= 0)
#define isunsigned2(x) (x >= 0 && ~x >= 0)

int main(void)
{
    while(true){
        int x = rand();
        bool issigned = isunsigned0(x);
        printf("%d %d\n", x, issigned);
    }
    return 0;
}